cmake_minimum_required(VERSION 3.4.1)

project("encrypt")

include_directories("md5" "aes" "base64")

file(GLOB SOURCES *.cpp aes/*.c md5/*.cpp base64/*.c)

add_library(
        encrypt
        SHARED
        ${SOURCES}
)

find_library(
        log-lib
        log
)

target_link_libraries(
        encrypt
        ${log-lib})

target_include_directories(${PROJECT_NAME} INTERFACE .)